<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>审批历史明细</title>
    <#include "/pubHeadStyle.html">
</head>
<body>
<table class="table-detail">
    <div style="padding: 20px" id="msg">
        <iframe id="extFormIframe" style="width: 98%;height:800px;border: none;" formUrl="${form}"></iframe>
    </div>
</table>

<script>
    layui.config({
        base: serverPath.systemPath + staticPath.systemPath //静态资源所在路径
    }).extend({
        index: 'index' //主入口模块
    }).use(['index','table','setter','element','util','layer'], function () {
        var setter=layui.setter
            ,$ = layui.$
            ,layer = layui.layer;
        var form = "${form}";
        function initForm(){
            //url表单
            if(form != null && form != ''){
                var formUrl= serverPath.basePath + form;
                $("#extFormIframe").attr('src', formUrl);
            }else{
                $('#msg').html("没有绑定业务表单！");
            }
        }
        $(function(){
            //设置表单
            initForm();
        });
    });
</script>
</body>
</html>